const joi = require("joi");

const username = joi.string().alphanum().min(1).max(16).required();
const password = joi.string().pattern(/^[\S]{6,12}$/).required();

const reg_login_schema = {
  body: {
    username,
    password,
  }
}

module.exports = {
  reg_login_schema,
}